<!DOCTYPE html>
<html lang="en">
<head>
    <title>打开文档</title>
    <script type="text/javascript">
        function Save() {
            document.getElementById("PageOfficeCtrl1").WebSave();
        }
    </script>
    <script type="text/javascript">
        function NextPage() {
            try{
                document.getElementById("PageOfficeCtrl1").GoToNextPage();
            }catch (e){ };
        }
        function LastPage() {
            document.getElementById("PageOfficeCtrl1").GoToLastPage();
        }
        function FirstPage() {
            document.getElementById("PageOfficeCtrl1").GoToFirstPage();
        }
        function PreviousPage() {
            document.getElementById("PageOfficeCtrl1").GoToPreviousPage();
        }

        function SetPageFit() {
            document.getElementById("PageOfficeCtrl1").SetPageFit(2);
        }
        function SetPageWidth() {
            document.getElementById("PageOfficeCtrl1").SetPageFit(3);
        }
        function SetPageReal() {
            document.getElementById("PageOfficeCtrl1").SetPageFit(1);
        }
        function RotateLeft() {
            document.getElementById("PageOfficeCtrl1").RotateLeft();
        }
        function RotateRight() {
            document.getElementById("PageOfficeCtrl1").RotateRight();
        }
        function openBig() {
            document.getElementById("PageOfficeCtrl1").ZoomIn();
        }
        function openLit() {
            document.getElementById("PageOfficeCtrl1").ZoomOut();
        }



        function AfterDocumentSaved(IsSaved) {
            if (IsSaved) {
                document.getElementById("PageOfficeCtrl1").Alert("文件保存成功.");
            }
        }
        function afterOpenEva(){
            Save();
        }
    </script>

</head>
<body>

<div style="width:auto;height:750px;">
${pageoffice}
</div>
</body>
</html>